/**
 * --------------------
 * email:lotency@qq.com
 * --------------------
 */


function formatDate(date = Date.now(), type = 'yy-mm-dd hh:mm:ss') {
	const date = new Date(date)
	const year = date.getFullYear()
	const month = date.getMonth() + 1
	const day = date.getDate()
	const hour = date.getHours()
	const minute = date.getMinutes()
	const second = date.getSeconds()
}



module.exports = {}

/**
 * --------------------
 * end
 * --------------------
 */
